<?php

class AA
{
    public function bb()
    {

    }
}
$classArray = ["AA", "bb"];

var_dump(is_callable($classArray));//bool(true)

$obc = new AA;
$objArray = ["obc", "bb"];
var_dump(is_callable($objArray));//bool(true)
